package com.dexilaonian.exception;

/**
 * 网络已经字段
 *
 * @ author  Huang
 * @ date    2017-04-25 14:26
 */
public class CodeException {

    /*网络错误*/
    public static final int NETWORD_ERROR = 0x1;
    /*http_错误*/
    public static final int HTTP_ERROR = 0x2;
    /*fastjson错误*/
    public static final int JSON_ERROR = 0x3;
    /*未知错误*/
    public static final int UNKNOWN_ERROR = 0x4;
    /*运行时异常-包含自定义异常*/
    public static final int RUNTIME_ERROR = 0x5;
    /*无法解析该域名*/
    public static final int UNKOWNHOST_ERROR = 0x6;
    /*没有网络*/
    public static final int NOWORD_ERROR = 0x7;
    /*取消请求*/
    public static final int CANEL_CODE = 0x8;

}
